.node {
    position: absolute;
    width: 10vmin;
    height: 10vmin;
    border-radius: 10vmin;
    border: 1vmin solid #ddd;
    color: #ddd;
    background-color: #fff;
    line-height: 10vmin;
    text-align: center;
    font-size: 5vmin;
    z-index: 2;
    transition: 500ms;
}

.line {
    position: absolute;
    /* border: 1vmin solid #aaa; */
    height: 1vmin;
    /* background-color: #aaa; */
    transform-origin: 0 0%;
    z-index: 1;
    line-height: 6vmin;
    font-size: 2.5vmin;
    color: #555;
    text-align: center;
    transition: 500ms;
    /* top: 0; */
    width: 0;
    top: 0;
    left: 0;
}

.line p {
    transition: 500ms;
    /* transform: rotate(0deg); */
}